* {
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    background-color: #efefef;
}

.ui-other {
    display: block;
    width: 100%;
    min-height: 100%;
    padding-bottom: 1rem;
}

.ui-top {
    display: block; // width: 100vw;
    height: 4rem;
    padding-top: .58rem;
    margin-left: -0.16rem;
    margin-bottom: -1.3rem;
    background-color: #0E0E16;
    background-size: cover;
    background-position: bottom;
    background-image: url(../../image/me/bgi.png);
    .ui-top-item {
        display: block;
        width: 100%;
        height: 1.28rem;
        padding-left: 2.12rem;
        position: relative;
        .ui-top-icon {
            display: block;
            position: absolute;
            top: .58rem;
            left: .44rem;
            width: 1.28rem;
            height: 1.28rem;
            border-radius: .64rem;
            border: 1px solid #fff;
            background-position: center center;
            background-size: cover;
            background-repeat: no-repeat;
            // background-image: url(../../image/me/avatar.png);
            background-color: #ccc;
            i {
                display: block;
                position: absolute;
                right: 0;
                bottom: 0;
                width: .32rem;
                height: .32rem;
                border-radius: .16rem;
                background-color: #9A57FF;
            }
            .male::after {
                content: '';
                display: block;
                position: absolute;
                margin: auto;
                left: 0;
                right: 0;
                bottom: 0;
                top: 0;
                width: .2rem;
                height: .2rem;
                background-position: center center;
                background-size: 100% 100%;
                background-repeat: no-repeat;
                background-image: url(../../image/main/boy.png);
            }
            .female::after {
                content: '';
                display: block;
                position: absolute;
                margin: auto;
                left: 0;
                right: 0;
                bottom: 0;
                top: 0;
                width: .2rem;
                height: .2rem;
                background-position: center center;
                background-size: 100% 100%;
                background-repeat: no-repeat;
                background-image: url(../../image/main/girl.png);
            }
        }
        .invalidImage {
            position: absolute;
            background-color: #000 !important;
            margin: auto;
            left: .44rem;
            width: 1.28rem;
            height: 1.28rem;
            border-radius: 100%;
            display: block;
            z-index: 11;
            .invalidWord {
                display: inline-block;
                width: 100%;
                text-align: center;
                font-size: .3rem;
                color: #fff;
            }
        }
        .ui-top-head {
            display: block;
            width: 100%;
            height: .3rem;
            margin-top: .12rem;
            .ui-top-name {
                float: left;
                line-height: .3rem;
                font-size: .3rem;
                color: #fff;
                margin-right: .2rem;
            }
            .ui-top-verification {
                float: left;
                height: .3rem;
                line-height: .2rem;
                font-size: .2rem;
                color: #fff;
                padding: .05rem .16rem;
                border-radius: .15rem;
                background-color: #9C9C9C;
            }
            .real {
                background-color: #9A57FF;
            }
            .vip {
                background-color: #FFC016;
            }
        }
        .ui-top-body {
            display: block;
            position: relative;
            width: 100%;
            height: .24rem;
            margin: .16rem 0; // background-color: red;
            .ui-body-item {
                float: left;
                line-height: .24rem;
                font-size: .24rem;
                color: #fff;
                margin-right: .2rem;
            }
            .like {
                display: block;
                position: absolute;
                top: 0;
                right: 0;
                width: .32rem;
                height: .32rem;
                border-radius: .16rem;
                background-position: center center;
                background-size: 100% 100%;
                background-repeat: no-repeat;
                background-image: url(../../image/account/logo.png);
            }
        }
        .ui-top-address {
            display: block;
            width: 100%;
            height: .24rem;
            line-height: .24rem;
            font-size: .24rem;
            color: #9C9C9C;
        }
    }
}

.lock {
    margin-top: 3.3rem;
    .lock-main {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        img {
            width: 1rem;
            height: 1rem;
        }
        p {
            color: #A19898;
            font-size: .3rem;
            margin: .2rem 0;
        }
        div {
            width: 4rem;
            height: .7rem;
            line-height: .7rem;
            text-align: center;
            color: #000;
            font-size: .32rem;
            background-color: #fff;
            border-radius: 20px;
        }
    }
}

.ui-msg {
    display: block;
    width: 100%;
    padding: 0 .16rem;
    margin-bottom: .3rem;
    .ui-msg-block {
        display: block;
        width: 100%; // height: 4.7rem;
        background-color: #fff;
        border-radius: .12rem;
        padding: .4rem .3rem;
        .ui-msg-data {
            display: flex;
            justify-content: space-around;
            position: relative;
            width: 100%;
            height: 2rem;
            border-bottom: 1px solid #EFEFEF;
            .ui-data-item {
                display: block;
                width: 1.32rem;
                height: 2rem;
                .ui-data-circle {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 1.32rem;
                    height: 1.32rem;
                    border-radius: .66rem;
                    font-size: .3rem;
                    color: #9A57FF;
                    background-color: #9A57FF;
                    position: relative;
                    z-index: 1;
                    &:before {
                        content: '';
                        position: absolute;
                        margin: auto;
                        left: .08rem;
                        top: .08rem;
                        width: 1.16rem;
                        height: 1.16rem;
                        border-radius: 100%;
                        background-color: #fff;
                        z-index: -1;
                    }
                }
                .ui-data-title {
                    display: block;
                    width: 100%;
                    line-height: .6rem;
                    font-size: .26rem;
                    color: #9c9c9c;
                    text-align: center;
                }
            }
            .one {
                // margin-left: .48rem;
                // float: left;
            }
            .three {
                // margin-right: .48rem;
                // float: right;
            } // .two {
            //     position: absolute;
            //     top: 0;
            //     left: 50%;
            //     margin-left: -.66rem;
            // }
        }
        .ui-picture {
            // display: flex;
            width: 100%;
            height: 1.56rem;
            padding: .3rem .1rem;
            .pay {
                width: 100%;
                height: 1.56rem;
                display: flex;
                align-items: center;
                justify-content: center;
                .btn-pay {
                    width: 40%;
                    height: 1rem;
                    margin: 0 auto;
                    line-height: 1rem;
                    text-align: center;
                    color: #302727;
                    font-size: .3rem;
                    background-color: #fff;
                    border: 1px solid #ccc;
                }
            }
            .img-list {
                width: 100%;
                height: 1.56rem;
                display: flex;
                .container {
                    position: relative;
                    width: 1.54rem;
                    height: 1.54rem;
                    margin-right: .2rem;
                    .ui-picture-item {
                        display: block;
                        width: 1.54rem;
                        height: 1.54rem;
                        line-height: 1.54rem;
                        font-size: .2rem;
                        color: #fff;
                        text-align: center;
                        margin-right: .06rem;
                        background-color: #000;
                        background-size: cover;
                        background-position: center center;
                        &:nth-child(4n) {
                            margin-right: 0;
                            background-color: #000
                        }
                    }
                    .mb {
                        position: absolute;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        margin: auto;
                        left: 0;
                        top: 0;
                        bottom: 0;
                        width: 1.54rem;
                        height: 1.54rem;
                        font-size: .3rem;
                        color: #fff;
                    }
                }
                .right-arrow {
                    flex: 1;
                    font-size: .24rem;
                    height: 1.54rem;
                    border: 1px solid #efefef;
                    .check-image {
                        display: flex;
                        align-items: center;
                        width: .3rem;
                        height: 100%;
                        margin: 0 auto;
                        word-wrap: break-word;
                    }
                }
            }
        }
    }
}

.images {
    display: flex;
    width: 100%; // padding: 0 .3rem;
    background-color: #fff;
    flex-wrap: wrap;
    margin-top: .3rem;
    .img {
        width: 1.624rem;
        height: 1.624rem;
        position: relative;
        box-sizing: border-box;
        margin: 0 .02rem .02rem 0;
        overflow: hidden;
        .bgi {
            width: 100%;
            height: 100%;
            background-color: #ccc;
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
        }
        .mask {
            position: absolute;
            margin: auto;
            width: 100%;
            height: 100%;
            left: 0;
            top: 0; // background-color: #9A57FF;
            opacity: .96;
            box-shadow: 0 0 .56rem .72rem rgba(21, 21, 22, 1) inset; // background: -webkit-linear-gradient(#BDB5C8, #BDB5C8, #BDB5C8, #BDB5C8, #BDB5C8);
            // background: -webkit-linear-gradient(#9A57FF, #9650FF, #9650FF, #9A57FF, #9650FF);
        }
        .text {
            font-size: .3rem;
            color: #000;
            position: absolute;
            margin: auto;
            bottom: .1rem;
            left: 0;
            right: 0;
            width: 100%;
            text-align: center;
            color: #fff;
        }
        .black {
            box-shadow: 0 0 1rem 1rem #000 inset;
        }
    }
    .pay {
        width: 100%;
        height: 1.56rem;
        display: flex;
        align-items: center;
        justify-content: center;
        .btn-pay {
            width: 40%;
            height: 1rem;
            margin: 0 auto;
            line-height: 1rem;
            text-align: center;
            color: #302727;
            font-size: .3rem;
            background-color: #fff;
            border: 1px solid #ccc;
        }
    }
}

.ui-list {
    display: block;
    width: 100%;
    padding: 0 .16rem;
    .ui-list-block {
        display: block;
        width: 100%; // height: 4.7rem;
        background-color: #fff;
        border-radius: .12rem;
        padding: .2rem .3rem;
        .ui-list-item {
            display: block;
            position: relative;
            width: 100%;
            min-height: .86rem;
            border-bottom: 1px solid #EFEFEF;
            padding-left: 1.56rem;
            .ui-item-title {
                display: block;
                position: absolute;
                top: 0;
                left: 0;
                width: 1.56rem;
                height: .86rem;
                line-height: .86rem;
                font-size: .3rem;
                color: #232323;
                padding-left: .1rem;
            }
            .ui-item-content {
                display: flex;
                align-items: center;
                width: 100%;
                min-height: .86rem;
                font-size: .3rem;
                color: #9A57FF;
            }
            .ws {
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
            .wechat {
                color: #FF7CFE;
            }
        }
        .to-station {
            &:after {
                content: '>';
                display: block;
                position: absolute;
                right: 0;
                top: .24rem;
                width: .32rem;
                height: .32rem;
                font-size: .32rem;
                color: #9C9C9C;
            }
        }
    }
}

.ui-tip {
    display: block;
    width: 100%;
    height: .8rem;
    line-height: .8rem;
    font-size: .24rem;
    color: #9c9c9c;
    text-align: center;
}

.ui-footer {
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1rem;
    background-color: #fff;
    .ui-footer-item {
        flex: 1; // width: 49%;
        line-height: 1rem;
        font-size: .3rem;
        color: #232323;
        text-align: center;
        border: none;
        outline: none;
        background-color: #fff;
        &:first-child::before {
            content: '';
            display: inline-block;
            vertical-align: middle;
            background-size: contain;
            background-repeat: no-repeat;
            width: .32rem;
            height: .32rem;
            margin-right: .1rem;
            background-image: url(../../image/other/contacts.png);
        }
        &:last-child::before {
            content: '';
            display: inline-block;
            vertical-align: middle;
            background-size: contain;
            background-repeat: no-repeat;
            width: .32rem;
            height: .32rem;
            margin-right: .1rem;
            background-image: url(../../image/other/comment.png);
        }
    }
    .line {
        display: inline-block;
        float: left;
        width: 1px;
        height: .8rem;
        margin-top: .1rem;
        background-color: #ccc;
    }
}

.ui-popup {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9;
    .ui-comment {
        display: block;
        position: absolute;
        width: 5.6rem;
        height: 5.8rem;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        background-color: #fff;
        border-radius: .2rem;
        padding: .9rem .6rem;
        .ui-comment-avatar {
            display: block;
            position: absolute;
            top: -.8rem;
            left: 50%;
            margin-left: -.8rem;
            width: 1.6rem;
            height: 1.6rem;
            border: 2px solid #fff;
            border-radius: 50%;
            background-color: #eee;
            background-size: cover;
            background-position: center center;
        }
        .ui-comment-hide {
            display: block;
            position: absolute;
            top: 0;
            right: 0;
            width: 1rem;
            height: 1rem;
            background-repeat: no-repeat;
            background-size: .32rem .32rem;
            background-position: center center;
            background-image: url(../../image/account/hide.png);
        }
        .ui-comment-name {
            display: block;
            position: relative;
            width: 100%;
            height: .6rem;
            line-height: .6rem;
            font-size: .3rem;
            color: #333;
            text-align: center;
        }
        .ui-comment-title {
            display: block;
            position: relative;
            width: 100%;
            height: .6rem;
            line-height: .6rem;
            font-size: .3rem;
            color: #aaa;
            text-align: center;
            margin-bottom: .12rem;
            &:before {
                content: '';
                display: block;
                position: absolute;
                left: 50%;
                margin-left: 1rem;
                top: .28rem;
                width: 1.2rem;
                height: 1px;
                background-color: #aaa;
                transform: scale(1, 0.5);
                transform-origin: center center;
                z-index: 1;
            }
            &:after {
                content: '';
                display: block;
                position: absolute;
                right: 50%;
                margin-right: 1rem;
                top: .28rem;
                bottom: 0;
                width: 1.2rem;
                height: 1px;
                background-color: #aaa;
                transform: scale(1, 0.5);
                transform-origin: center center;
                z-index: 1;
            }
        }
        .ui-comment-list {
            display: block;
            height: 2.54rem;
            width: 3.6rem;
            margin: 0 auto;
            .ui-comment-item {
                display: block;
                float: left;
                width: 1rem;
                height: 1.2rem;
                margin-right: .3rem;
                &:nth-child(3n) {
                    margin-right: 0;
                }
                .ui-comment-number {
                    display: block;
                    width: 100%;
                    height: .6rem;
                    line-height: .3rem;
                    color: #aaa;
                    background-color: #ddd;
                    font-size: .3rem;
                    text-align: center;
                    border-radius: .12rem;
                    padding: .16rem 0;
                }
                .select {
                    background-color: #571A92;
                    color: #fff;
                }
                .ui-comment-tap {
                    display: block;
                    width: 100%;
                    height: .6rem;
                    line-height: .6rem;
                    color: #555;
                    font-size: .3rem;
                    text-align: center;
                }
            }
        }
        .ui-comment-btn {
            display: block;
            width: 100%;
            height: 1rem;
            line-height: 1rem;
            color: #F098EF;
            font-size: .3rem;
            text-align: center;
            border-top: 1px solid #ddd;
        }
    }
}

.pswp__top-bar {
    opacity: 0;
}